<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>02flex布局初体验</title>
    <style>
        div {
            display: flex;
            justify-content: space-around;
            /* flex-direction: column; */
            /* flex-wrap: nowrap; */
            /* align-content: center; */
            align-items: center;
            /* flex-flow: column; */
            width: 80%;
            height: 300px;
            background-color: pink;
        }
        
        span {
            /* width: 150px; */
            height: 100px;
            background-color: forestgreen;
            margin-right: 5px;
            flex: 1;
            flex-shrink: 0;
        }
        
        span:nth-child(2) {
            align-self: flex-end;
        }
    </style>
</head>

<body>
    <div>
        <span>1</span><span>2</span><span>3</span>
    </div>
</body>

</html>